
#ifndef __KNDEBUG_H__
#define __KNDEBUG_H__

#include <string>
#include <iostream>

namespace knlib {
namespace debug {


class LogObject
{
public:
	LogObject(const std::string& m): message(m)
	{
		std::cout<<"Constructed: "<<message<<std::endl;
	}
	LogObject(const LogObject& lo)
	{
		std::cout<<"Copied: "<<message<<std::endl;
	}
	~LogObject()
	{
		std::cout<<"Destructed: "<<message<<std::endl;
	}
private:
	std::string message;
};


}}

#endif

